package com.ujiuye.service;

import com.ujiuye.dao.SearchDao;

import java.util.List;

public class SearchService {
    public List<String> getList(String name) {
        if (name!=null && name.trim()!=""){
            SearchDao sd=new SearchDao();
            return sd.getList(name);
        }
        return null;
    }
}
